package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.SpChargeItemAddDto;
import com.one.group.model.dto.SpChargeItemsQueryDto;
import com.one.group.model.dto.SpChargeItemsUpdateDto;
import com.one.group.model.entity.SpChargeItems;
import com.one.group.model.vo.SpChargeItemsVo;

import java.util.List;

public interface SpChargeItemsService extends IService<SpChargeItems> {
    List<SpChargeItems> findByChargeTypeId(Long chargeTypeId);

    List<SpChargeItemsVo> findListByQuery(SpChargeItemsQueryDto spChargeItemsQueryDto);

    boolean myAdd(SpChargeItemAddDto spChargeItemsAddDto);

    boolean myUpdate(SpChargeItemsUpdateDto spChargeItemsUpdateDto);

    boolean myRemoveById(Long id);
}
